package cn.com.ejiakanghu.config;

import cn.com.ejiakanghu.dto.Location;

public class LocationContext {
    private static final ThreadLocal<Location> context = new ThreadLocal<Location>();

    private LocationContext() {
    }

    public static void set(Location location) {
        context.set(location);
    }

    public static Location get() {
        return context.get();
    }
}
